import React, { Component } from "react";
import "./App.css";
import NavigationBars from "./components/NavigationBars";
import Board from "./components/Board";
import InputBox from "./components/InputBox";

class App extends Component {
  receiveChildComponetsMessage = (message) => {
    console.log(message);
  };
  render() {
    return (
      <div className="App">
        <NavigationBars
          title="我是自定义标题"
          sendMessage={this.receiveChildComponetsMessage}
        />
        <InputBox />
        <Board />
      </div>
    );
  }
}

export default App;
